<?php

/**
 * Base actions for the jfPortableDeviceExtImageGalleryPlugin jfPortableDevice module.
 * 
 * @package     jfPortableDeviceExtImageGalleryPlugin
 * @subpackage  actions
 * @author      Jonas Fischer <info@jonasfischer.net>
 * @version     SVN: $Id: BaseComponents.class.php 12534 2008-11-01 13:38:27Z Kris.Wallsmith $
 */
abstract class BasejfPortableDeviceExtImageGalleryActions extends sfActions
{
  public function executeDemo(sfWebRequest $request) {
  	$this->images = array(
  		array(
  			'full_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/full/architektur.jpg',
  			'thumb_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/thumb/architektur.jpg',
  			'headline' => 'Print Media Horse',
  			'text' => 'Crazy horse standing in front of the Print Media Academy building in Heidelberg. The head of the horse is spinning, by the way.',
  		),
  		array(
  			'full_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/full/portrait.jpg',
  			'thumb_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/thumb/portrait.jpg',
  			'headline' => 'Two become one',
  			'text' => 'Me and a fellow student experimenting with camera focus. I am the blurry one.',
  		),
  		array(
  			'full_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/full/schnee.jpg',
  			'thumb_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/thumb/schnee.jpg',
  		),
  		array(
  			'full_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/full/teneriffa.jpg',
  			'thumb_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/thumb/teneriffa.jpg',
  			'headline' => 'Sunset',
  			'text' => 'Sunset in Puerto de la Cruz, Tenerife.',
  		),
  	);
  }
  public function executeDemo2(sfWebRequest $request) {
  	$this->images = array(
  		array(
  			'full_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/full/schnee.jpg',
  			'thumb_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/thumb/schnee.jpg',
  		),
  		array(
  			'full_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/full/teneriffa.jpg',
  			'thumb_src' => '/jfPortableDeviceExtImageGalleryPlugin/img/demo/thumb/teneriffa.jpg',
  		),
  	);
  }
}
